package com.joker.dao;

import com.joker.bean.Course;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ICourse {
    List<Course> queryAll();
    Course queryOne(String id);
    int addOne(Course course);
    int updateOne(Course course);
    int deleteOne(@Param("id") String id);
    List<Course> queryOneCourse(String id);
    List<Course> queryStudentCourse(String id);
    List<Course> queryOutCourse(String id);
}
